package com.example.spring_seatreservation.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class UserExcel {

    @ExcelProperty("账号")
    private String number;
    @ExcelProperty("姓名")
    private String username;

    @ExcelProperty("性别(男/女)")
    private String sex;
    @ColumnWidth(35)
    @ExcelProperty("生日(如：2024-01-01)")
    private String birth;
    @ExcelProperty("手机号")
    private String phone;
    @ExcelProperty("邮箱")
    private String email;

    @ColumnWidth(35)
    @ExcelProperty("类型(学生/老师/管理员)")
    private String type;
}
